package persistence;

import models.Product;

import java.util.List;

/**
 * Created by Fpt-Shop on 12/26/13.
 */
public interface ProductMapper {
    public void insertProduct(Product pro);
    public List<Product> getProductsLikeName(String name);
    public Product getProductById(Integer cusId);
    public List<Product> getAllProducts();
    public void updateProduct(Product cus);
    public void deleteProduct(Integer proId);
}
